﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HY.Entity
{
    public class SysLog : EntityBaseModel
    {
        /// <summary>
        /// 日志等级
        /// </summary>
        [Required]
        [StringLength(10)]
        public string LogLevel { get; set; }
        /// <summary>
        /// 日志信息
        /// </summary>
        [StringLength(500)]
        public string LogMessage { get; set; }
        /// <summary>
        /// 异常信息
        /// </summary>
        [StringLength(4000)]
        public string Exception { get; set; }
        /// <summary>
        /// 日志类型
        /// </summary>
        public int LogType { get; set; }
    }
}
